package com.fd.polymorphsm2;

public class Wolf extends Animal {
    @Override
    public void run() {
        System.out.println("狼跑的贼溜");
    }

    public void attack() {
        System.out.println("狼会咬人");
    }
}
